package com.threeti.mecool.core.domain.model.basicdata;

import com.threeti.mecool.shared.util.AbstractTreeNode;

public class AdminDivision extends AbstractTreeNode<String> {

  public AdminDivision(String adCode, String name) {
    super(adCode, name);
  }

  private String parentCityAdName;
  
  private String parentProvinceAdName;

  AdminDivision() {
    super();
  }

  public String getParentCityAdName() {
    return parentCityAdName;
  }

  public String getParentProvinceAdName() {
    return parentProvinceAdName;
  }

  @Override
  public String toString() {
    return "AdminDivision [getId()=" + getId() + ", getName()=" + getName() + ", getParentId()=" + getParentId()
        + ", parentCityAdName=" + parentCityAdName + ", parentProvinceAdName=" + parentProvinceAdName + "]";
  }

  public void setParentCityAdName(String parentCityAdName) {
    this.parentCityAdName = parentCityAdName;
  }

  public void setParentProvinceAdName(String parentProvinceAdName) {
    this.parentProvinceAdName = parentProvinceAdName;
  }
  
}
